﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DataRepeater;
using TestProjectController;

namespace TestProject
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var userTable = DBUserManagment.GetAllUsers();

            //var dataRepeater = new DataRepeater.DataRepeater();
            var articlesController = new ArticlesController();
            dataRepeater.DataSource = articlesController.GetAuthorArticles("admin");
            dataRepeater.DataBind();
        }
    }
}
